code: def _replaceRenamedPairMembers(kerning, leftRename, rightRename):
      
      renamedKerning = {}
      for (left, right), value in kerning.items():
          left = leftRename.get(left, left)
          right = rightRename.get(right, right)
          renamedKerning[left, right] = value
      return renamedKerning
docs: Populate the renamed pair members into the kerning.