Rapper pleads guilty to sex trafficking charge