I could be misinformed, but couldn't a contractor or independent company just partner with government agencies (local, state, federal) and thus do away with the first amendment infringement issue?
IIRC, this is how some tech is exempt from FOIA requests (because the tech is "private" even though the end user is the DoD).