Defendant in sex trafficking case enters plea agreement