This has had bad consequences for sex workers, sex consumers, and vice cops alike.