The law was set to take effect on May 8, 2022, but a federal judge blocked it with a preliminary injunction that remains in place during legal challenges.