Multi-Layer Trust Model with HMAC for Privacy-Preserving Data Storage and Transmission in Edge Computing