I would pressure wash the engine with hot water, scrub the engine with hot soapy (Dawn) water, and then pressure wash again with hot water. Then rinse it with metal etch, hot water rinse and dry with compressed air and run a fan on it until completely dry. Then paint right away.