Yes, and if anyone wants a lucerative contract with any gov’t agency, they must comply with the regulations.
In this case, if they wanted to buy another company they had to consent to things completely unrelated in order to be allowed to conduct ordinary activities that businesses do. Ostensibly, the government would have been using its SEC powers to prevent monopolies to block the purchase, and to gain the approval, and theoretically prove it won’t be a consumer-harming monopoly, it had to grant access to records not to the SEC, but to the NSA - to review things having nothing to do with business practices.