How to Hide the "GDPR / DSGVO Google Maps" Admin Menu

function plt_hide_gdpr_dsgvo_google_maps_menus() {
	//Hide the "Settings → GDPR / DSGVO Google Maps" menu.
	remove_submenu_page('options-general.php', 'ocgml');
}

add_action('admin_menu', 'plt_hide_gdpr_dsgvo_google_maps_menus', 11);

Where do I put this code?