Wow, that's not something I've seen before, has the bike been ridden through a lot of very abrasive mud or something, or has it just done a lot of miles?
My suggestion would be to simply use any old cable guide, and let the cable tension hold it against the bottom of the BB. As I said, this works for me.