A bill passed by the Senate’s veto override last week includes new guidelines for federal officers