Build an AI-local privacy wrapper that automatically scrubs sensitive information before sending prompts to external APIs. Focus on creating an enterprise-grade middleware that logs compliance data.