Refactor event field name prefix removal into a shared method