I’m not sure which part is damaged here. If it’s the plastic parts they can be replaced, the metal studs can’t be without a full keyboard replacement which really needs a new uppercase assembly here as your battery likely needs replacing too!
While one can replace the keyboard assembly alone, it’s a very big job! It’s not something I recommend for a first timer as there is a bit of mechanical force needed which needs to be metered out so you don’t damage the uppercase frame And as I stated the age of this system brings to question what’s left of the batteries life, let alone the physical trauma you will subject to it trying to get it out
Can you give us a bit more detail here so we can aim you to the correct direction that’s needed
Sorry, Apple messed up! And you could ended up holding the doggy bag in this series.