The biggest piracy threat to the music industry is my sound card. I can record any sound that comes out of the speakers.
Bloody hell!
https://en.wikipedia.org/wiki/High-bandwidth_Digital_Content...
Stop protecting bytes from being copied!
On the other hand, the pirated copy still worked great.
This is already a thing in another medium: money. Digital printers, and some software packages, are trained to identify embedded signals to disrupt attempt to scan/print paper currency.
This exists commercially: https://en.wikipedia.org/wiki/Cinavia
I don't know if it's truly "inaudible", maybe some experts can detect it? But probably 99% of people can't.
[0]: https://www.mattmontag.com/music/universals-audible-watermar...