OBSOLETE. Catalysis of the reaction: peptidyl-L-lysine (or peptidyl-L-arginine) + H2O = peptide + L-lysine (or L-arginine). Function is activated by Co2+ and inhibited by 1,10-phenanthroline and other chelating agents.