The legislation, known as the Sunshine Protection Act and backed by President Donald Trump, now heads to the Senate for consideration.