i believe people use KY Jelly to moisten some organs in case of prolapse.
Perhaps, you can use it for this case.
Your best bet is keeping it moist until you can get him to the exotic vet for surgery (if necessary).
They might need to amputate the tongue.
Don't worry though, Chameleon can adapt even without the tongue.
So, go to the vet ASAP!