Jurisdiction Of Govt. In Law Making
Things which leads to haq talfi and ziyadti are stopped by law this is called sadd e zarya. Obscenity leads to Zina that is why it can be stopped with the power of law.