This doesn't specifically target child-prostitution. It easily could have, but doesn't. It targets all sex-work, which does have consequences.
So if the (I'm assuming) tiny fraction of child-prostitution is moved elsewhere (probably pimping them on the streets) then the grown adult sex-workers are now being forced to maybe go work for a pimp in dangerous situations vs. being independent and in control of when, where, and who they work with.
This law could very easily have been worded to make these companies responsible for any child-prostitution, but let adults be responsible for themselves.