If the bill is signed into law, children under 14 will be banned from social media and age verification will be required to access pornographic websites.
Bill passed during special legislative session to deal with crime, but a gun control group says permitless carry of firearms will exacerbate the problem.
The ruling comes weeks after Louisiana Gov. Jeff Landry signed a bill creating a new congressional map that establishes a second majority-black district.
The EPA was citing a section of the Civil Rights Act in an effort to ensure that minority communities were not disproportionately exposed to pollution.