It’s possible that the leg remnants belong to something the snake ate.
Or could be a mutant salamander.
Salamanders belong to an entirely different class - Amphibia. Snakes and lizards belong to the class Reptilia.
I'm sure that paleontologists are quite capable of distinguishing between the two.
Regards,