That's already possible in the API. Making it accessible to the user is up to the app, which isn't made by Apple/Google.Apple/Google should add an app feature that lets you delete the phone-to-phone contact data from the last N minutes. That way, if you're close to someone else when there's a barrier (like a window) between you, you can prevent it from being recorded as a contact event. If one of you later gets COVID-19, it will prevent a false alarm from being sent to the other person.