The law is quite capable of distinguishing between someone listening to music for their own enjoyment that happens to be overheard by others, and someone intentionally directing music at strangers for purposes of furthering their own business interests.
What the officers are doing seems more akin to a business use to me, since they are doing it to affect how they can perform their job, so I'm curious if they need to license the songs.