Got the same message on my samsung note
I don’t know how it is on your phone, but on an iPhone you would go to settings, then scroll down to “Exposure Notifications”.
You can select it to be on or off.
It was in a previous “system upgrade” a couple of months ago.