You make it seem as if there was an universal feminist agreement that sex work should be illegal.
It's not. There are plenty (female) hard-core 2nd-wave feminists that are all for legalization of prostitution, citing self-empowerment, economic empowerment and the acceptance of female sexuality.