Now I Get It: Why is the online sex trafficking bill controversial?

On Wednesday, President Trump signed a bill that cracks down on online sex trafficking. It aims to curtail it by cutting certain legal protections websites have under the Communications Decency Act for content posted by their users. The bill is a mashup of House and Senate versions — what is it, and why is it controversial?