Data Security and Privacy Frameworks for AI Technologies