Mr. Lowery, a rock guitarist-songwriter, applied for class-action status, arguing that Spotify has failed to handle the mechanical licensing for a huge number of songs by many songwriters.