I'd for sure get the vet's help on this, so you don't make things worse. (KMG, I don't think they had time to contact the vet yet-?)
And massaging waste out of a snake is different, because that's going the direction it's supposed to go. For that matter, I've helped an exhausted bull snake lay some huge eggs, one of which was extra-large & stuck. But this could do some real harm because it's going the "wrong way".