Diet and nutrition apps prioritize data privacy by using measures such as encryption, secure data storage, user authentication, and access control to protect user data. This includes the use of encryption algorithms and secure servers, as well as limiting access to sensitive information to authorized personnel only.