The NYTimes [1] did an excellent expose on this a year ago.
They purchased location data on 12 million phones across the country.
[1] https://www.nytimes.com/interactive/2019/12/19/opinion/locat...
[1] https://www.nytimes.com/interactive/2019/12/19/opinion/locat...
I think this sentiment applies to much more than libraries or infrastructure. Laws against wiretapping and opening postal letters are vestiges of the past. They never got updated when communication moved digital. They would not be passed today. They are kept on the books only because of inertia. If they didn't exist in the first place, no government would create them in 2020.