The issue is, that the process to overturn a law takes years, but introducing the same law (with a slightly different paint) again takes months.
Or for some reductio ad absurdum: Slavery is legal for 10 months per year, but every October the Slavery Legalization law gets struck down by the courts, proof that our democracy works.
Why does it take so long though? In the United States courts often issue a preliminary injunction or temporary restraining order to stop the enforcement of law. This way the courts can take their time in deciding a case while the new law does not get enforced.
In this case (IIRC) two service providers went to court and the law was put out of force for them, at which point the federal agency in charge of enforcing it decided not to do so until the matter was resolved by the highest court. So in some sense it did work.