The bill's restrictions would apply to President Trump, Elon Musk, elected members of Congress, and other senior government officials.