In addition to helpful advice that we may have seen before, this article mentions a genuine Honda rodent-repelling tape for use under the hood. This pricey duct-tape lookalike is apparently infused with Capsaicin.
I’d be skeptical of the pepper tape. I’ve used pepper spray and pepper concoctions to deter squirrels in an attic and it had zero effect. I doubt mice would be much different.