Dogs constantly grab something on the street while walking. Probably the best protection is the muzzle. I'm used to constantly taking something away from my dog so that he doesn't eat it. In general, I can recommend you a cool article https://pawfectpawprint.com/what-to-do-if-your-dog-swallowed-a-bully-stick/, read it, there is a lot of interesting information on this topic.