(4) Affect any investigation, proceeding or remedy in respect of any such privilege, obligation, liability, penalty, forfeiture or punishment; and the investigation, proceeding or remedy may be instituted, continued or enforced, and the penalty, forfeiture or punishment imposed, as if the ordinance had not been repealed or amended.