The legislation would bar anyone with conflicts of interest or without a security clearance from getting into the Treasury Department's data.