They have a rattlesnake vaccine for dogs so it might be worth looking into. It’s available at a vet in my area. Here are a couple different options

Antidote 3 Rattler Antivenin

Antivenin (10ml vial) | On Sale | EntirelyPets Rx

Antivenin Venom Vet Single Dose 10 ml | Allivet