Put such protections and limitations in the constitution and make it harder to subvert.
“The right of a citizen to use public spaces without causing the creation of a long term, indexable, searchable, hashable record of their presence shall not be curtailed.”
Side note - I’m not even an American citizen but can evoke the style of the second amendment without much trouble. That’s soft power!