*If* it’s the mounting hardware, you could go for tougher ones. Typically you may have the top hat reducer stuff, alu, and the tough stuff I think is stainless steel through tubes and stuff like that. Often recommended as keeps other stuff from wearing and you just go through bushes instead (plus they often come with the tougher nylon or whatever bushes which last longer).
See tftuned, BETD and that dude off here I think (and ebay) who does them.
They’ll be specific sizes to the shock make, model as well as the frame. tftuned does a bit of a size guide but watch out for frame model versions, otherwise check the frame manufacturer’s manual or ask them.
Other possibility – maybe the shock needs a service? I’m no expert on all shocks, but got Fox RP shocks myself and a sleeve seal/oil service is dead easy to do myself with the relevant kit. Mine wasn’t notchy though, it just leaked air and went through all the travel, but thinking maybe if it’s sticky a service may help.