By definition "the law" is the set of laws that the government passes. So it's a roundabout way of saying the government can pretty much do what they want.
Also, this is probably the only acceptable arrangement when it comes to industry-government contracts. The government will always have more information than civilians.