android 15 beta has this out of the box..
I saw this when i installed android 15 beta on an old device to see what it looks like.. its a pixel phone i use for tests and to satisfy my curiosity.
of course i swiftly disabled the option as you basically allow google to record your conversations. and its shown there and you have to agree before using it.
Apparently that is a feature of the google app beta.
https://www.androidpolice.com/google-song-search-quick-settings-tile-android/
it is a good or perhaps not so good thing you don't have to rely on other apps to extend your attack surface... its up to you and your threat model to answer that.