A Novel Access Control and Privacy-Enhancing Approach for Models in Edge Computing