A Novel Privacy-Preserving Scheme in IoT-Based Social Distancing Technologies