Keeping Mice from building nests on engines

I’ve read that cayanne pepper (sp?) repels them, but I cannot testify to that.

Perhaps a call to your state’s Department of Agriculture office will yield a definitive answer. They have experts in rhodent control and their services are free.