ProDiF: Protecting Domain-Invariant Features to Secure Pre-Trained Models Against Extraction