I’ve aquired quite a few mechs over the years that were being chucked away because of this. As has been mentioned, vice and socket to remove the bolt, scrape the rubbish of the bush, a bit of sanding, regrease and asssemble. Hey presto, one fully functioning mech.
The biggest problem I have is the price of replacement jockey wheels. 8O