Go to Settings -> Privacy -> Health. You should see "COVID-19 Exposure Logging" at the top of that screen with a status of Off (the default). This is on iOS 13.5.1.Apparently IPhone didn’t get it? Not seeing it on mine.
ETA: you can't turn on Exposure Logging unless you have an "authorized app installed that can send Exposure Notifications."