Toyota Tundras are notorius for having the knock sensor harness being chewed through. Happened to me in 2019 out elk hunting. I got lucky and they didn't chew completely through the wire, but they made a mess and I had to replace them. Knock sensor wires are right up next to the engine and they use a soy based wire covering. Toyota said they see it all the time. I've talked to a few rodent exterminators and I was told the most effective way to help stop it is a 5 gallon bucket of water with a rod through the top and peanut butter on it right near my truck.