My sister gave me her bottle of Grannick’s Bitter Apple. It is a taste deterrent to keep dogs/cats from biting/eating inappropriate things. I sprayed it on the handles of plastic bags my cat would chew on. My cat would check out the bag but wouldn’t chow down on it like dessert.
It also worked to keep them from chewing the ends of my electric cords (the end that goes into the gadgets).