remove OC_Preferences from encryption migration
Remove more OC_Preference calls from encryption