A photo would help. I'm not sure what you mean by, "
the shell under the water heater has distorted and unsealed from the water heater flange" If you're talking about doing some bodywork, I'd think step one would be remove the water heater from the RV. That would give access to the various parts.