I have to disagree. One of the reasons I use YouTube Music is because their search includes all the random music uploaded to youtube.com. This means that a lot of really rare tracks that YTM never received officially from the labels can be integrated into your library. I guess YTM then tries to sort out the royalty issues as they do through youtube.com.
YTM is objectively inferior to GPM in every way except library size and some details that only YouTube/Google have to worry about. The apps are buggy as fuck and have little more than "radio" features and a (crappy) search bar. Playlists are intermingled with youtube video playlists and have no search and only rudimentary sorting, viewing albums is a pain, finding your own music is a minimum of 3 button clicks, and the app flat out does not work half of the time.