Can do it 2 ways, cheap and quick and hope fro the best ..... use a rattle can.
what you should do is strip whatever is on there , at least the black . Degrease the hell out of everything. If you have a lot of bare metal honestly the best thing is to put a coat of epoxy down, but a good quality DTM primer will also do. Primer and sealer are the same thing. Sealer is simply primer reduced down to be thinner and spray better for a wet on wet application.
For an engine bay I am fan of single stage. Even with a metallic color, there are so many angles and edges in an engine bay, your not going to see any tiger striping or poor metallic orientations if you don't nail down the application.
The engine bay , all thought you don't see a a lot of it, does typically take more abuse the most of the car. Especially from chemicals . A simple 1K areosole can just won't stand up to anything. On the other hand they do offered 2k areosole can of everything now ( epoxy, primer , clear coat , color ).
Do it once do it right ......