I'm pretty sure you are talking about a pipe/hose which goes to the heater core.
From Autozone "The metal pipe connects to a rubber hose, and I almost want to just cut the bad portion off and get a new hose and reconnect it."
This sounds like a fine idea. Try it and post to let us know the results.