If there was no minimum wage and no OSHA, would you look at the opinion of all workers or just the people who agreed to work for a low wage or in an unsafe condition? Obviously the former, because all workers are subject to coercion to agree to work for low wages and in unsafe conditions, and the point is to protect all workers from that pressure.
Similarly, sex workers don’t start out that way. All women are subject to the coercion and social pressure that pushes some into sex work. The daughter of that middle class suburban woman could be pressured into sex work by an abusive boyfriend, for example. They all have a stake in the situation.