Exhaust leaks through bolts will have a very distinctive *ping like sound, almost like somebody firing an airsoft gun. Typically on domestic cars they rot straight through and or snap, they shouldn’t be coming loose in any normal wear and tear.
Why replace it when you can test it and see if it’s putting out proper voltage?