A Situation-Aware Access Control Framework for Contact Tracing