that as result there was a risk of food-poisoning, the last defence against which was proper cooking;
(the last defence against which; was; proper cooking)
the last defence against which
was
proper cooking