Harsh luck. A chewed cartridge is usually a write-off, so your realistic options are buying a replacement copy — second-hand is fine, since DS carts either work or they don't — or contacting Nintendo's support line to ask about a replacement.
In the meantime, back up and store cartridges somewhere your dog can't reach.