Incompetent governments, who fail miserably at securing rights, (i.e., by prosecuting injury after the fact), can appear effective by legislating bans on liberty to “prevent” crime. Prior restraint may appear to be a solution, but you can never ever prove its efficacy - which is another reason why governments embrace it. Furthermore, you can dominate innocent people with regulations, because you can prosecute a breach without evidence of an injured party, deliberately injured.
Restrictions on liberty as a means to prevent crime is evidence of an incompetent and corrupt government unable to forcefully prosecute criminals as a deterrent. Thus the worthless politicians appear to be doing something while actually making the problem worse for the American people.