the flex pipe is part of the time that runs from the cat to the rear exhaust section. I believe that it contains the cat also and that is why it is so expensive.
You should be able to have an exhaust shop replace the flex pipe or seal it up by welding the exhaust leak closed