Criminalisation of sex work is an infringement on privacy rights, as it polices conduct that is almost always private in nature.
When sex work is illegal, sex workers are particularly vulnerable to abuse by law enforcement.