Two choices I can think of - either have it disassembled and regrouted/repointed with proper mortar, or cap the bricks with a copper or galvanized sheet metal cap, to at least the depth of the last deteriorated brick. If picking the latter, make sure there is a good solder or silicone seal between the stacks, if any, and the metal cap.