Had same problem several years ago...chewed the hood seal,battery insulation and one wire,forget which one,electric wire which made truck have bad miss...Live in country and truck is in shop..nothing will keep them out..unless your shop is in a bubble...
So..my solution...mouse blocks around shop,AND under truck engine and by tires..also a trap under the engine...But..i caught him by putting a trap on the battery...and also doesnt hurt to wire a few mouse blocks (they sell with holes in them)in the engine compartment.So did i solve the problem...so far yes in truck..and still catch a few in traps in shop and do see blocks chewed on...its ongoing for most and you just have to keep on it...Also spraying frabric softner around engine..dont know if that works but i got best smelling Raptor in town...
I had them totally destroy my older BMW years ago that was parked outside,so always tried to stay on top of it..if you dont,they find their path in and then go invite the whole family...Have lots thousands of dollars in damage till i started to stay on top of it.