Here is an old nurse tip: When you cannot get away from a smell, it can be helpful to keep something intensely flavored in your mouth - altoids, tic-tacs, etc.
Has worked well for me at times I wanted desperately to wear a mask - but thought it would be inconsiderate.
'Course, unless you have a smart and senstive cat, you could always wear a mask .