ShazamKit is not third party, it is provided by Apple. Their website states "The audio stream is processed locally on your device and never recorded.", though this could refer to the audio statistics being collected locally, I assume ShazamKit still contacts an Apple API to get the classification.