Assuming it is the barrel and not the firing pin, a cheap, effective and if done right accurate fix it put a barrel insert in the barrel and re-chamber it.
Basically amounts to drilling out the barrel with a special drill (sold by brownells), and gluing (I use Brownell's Accra Gel) or silver soldering in the barrel blank (after you cut it to length), Use a 22 LR Chamber reamer and crown the barrel (blank).
I've done several and they turned out to be great shooters. Brownell's instructions say it can be done with a slow electric hand drill, but I like doing it on a lathe.
GO SLOW AND USE LOTS OF CUTTING FLUID
CPT USAR Ret
USAMU Sniper School Oct '78
Distinguished Rifle Badge 1071