What's important is that what the IRS learns this way should
not be shared with other agencies. That should improve the level of tax collection. In fact information sharing would be an incentive
not to share, which, as most tax evasion is goes undetected or at least not followed up, would be a kind of subsidy or tax break to lawbreakers (much as drug laws are a price support and subsidy for drug dealers -- regulatory capture at its most raw).
The same applies to TSA: they should look for weapons and nothing else. No drugs, no other contraband. Narrowing the search space should (hopefully) improve threat detection, so leave unrelated factors to the professionals.
As a general principle this seems to be poorly understood by both legislators and the general public.
Oh and PS: follow this same rule with your code.