President Trump signed the Music Modernization Act into law at a ceremony today at the White House that included Mike Love of The Beach Boys and Kid Rock, two of Trump’s most visible supporters in the music community.

The legislation is a rarity in the an otherwise divided Congress — a measure that enjoyed sweeping, bipartisan support. A slightly different version of the bill also passed the House without a single objection.

The Music Modernization Act is designed to fix some long-standing issues that have grown more urgent, as the recording industry relies more heavily on the revenue from digital music services like Spotify, Apple Music or Pandora. Streaming services now account for 65% of the industry’s revenues in the U.S., according to the Recording Industry Association of America.

The legislation accomplishes three key things: making sure songwriters and artists receive royalties from digital music services on songs recorded before 1972; allocating royalties for music producers; and streamlining the rules for streaming services to pay rights-holders.

Up until now, an artist like Aretha Franklin, whose 1967 recording of “Respect “rose to the top of the Billboard charts and became an anthem for the civil rights movement, did not receive payment from digital music services, even though the estate of the songwriter, Otis Redding, collected a royalty check.

“The Senate’s passage of the Music Modernization Act ensures that our singers and sound recording artists will at last be justly compensated for their pre-1972 works on digital and satellite platforms,” SAG-AFTRA president Gabrielle Carteris said in a statement issued when the measure passed Congress.

Another change is designed to reform how songwriting royalties are paid.

Streaming services like Spotify has been slapped with lawsuits by music publishers and songwriters who claim they’re not being properly compensated for their work. The streaming services have complained there was no easy way to identify who holds the rights to a particular work.

The bill would create a music collective to administer royalties. It also would create a publicly available database that would make it easier for songwriters and publishers to claim their songs.

“One of our core missions at Spotify is to enable a million artists to make a good living from what they love: creating and performing music,” said Spotify’s General Counsel Horacio Gutierrez in a statement. “The Music Modernization Act is a huge step towards making that a reality, modernizing the outdated licensing system to suit the digital world we live in.”

The music industry has issued a number of laudatory statements applauding Congress’ work. The House is expected to take another vote on the Senate’s version of the bill before it is sent to President Donald Trump’s desk.

“This is a monumental occasion for artists and songwriters who are now assured — in law — that they will receive their deserved royalties,” said Irving Azoff, founder of Azoff Music Management.