If your kidneys are in bad shape they may not be able to get rid of toxins loosened by MMS. Congestion? It may be a sign of you need to go very slow with very little for some time.
A general detox rule is one's kidneys must be able to handle the garbage on it's way out.
DMSO would regenerate any damaged or inflamed kidney tissue, not do damage.
Also, your pain sounds like kidney stone symptoms. That would be about as bad as you describe. In case you may need to get "stone-breaker".
Badly congested kidneys would be serious enough. But I wouldn't worry about any lasting damage. Go slow.