Escape database information for security consideration
Renamed registry profile to profile_field