Sadly this is a feature not a bug for the lawmakers who wrote the laws. They want databases of PII to be breached in order for porn consumers to be publicly named and shamed without the political blowback or getting their hands dirty.
And future congressmen too. Jeffrey Epstein was known for playing with this kind of power.
seriously, how much "blow back" could there possibly be to revealing someone has frequented PH?
Or how it never turns out that politicians who pushed for persecution of gays are gay themselves. Ever.