One of the ways the government gets around the Fourth Amendment constitutional protection against unlawful search is to outsource it to private companies
Another way the government gets around the Fourth Amendment is by having its foreign allies spy on our citizens and share intelligence like with the Five Eyes alliance