code: function updateProtectedValuesSalt(node, protectSaltGenerator) {
      traverse(node, function(node) {
          if (strToBoolean(node.getAttribute(XmlNames.Attr.Protected)) && node.protectedValue) {
              var newSalt = protectSaltGenerator.getSalt(node.protectedValue.byteLength);
              node.protectedValue.setSalt(newSalt);
              node.textContent = node.protectedValue.toString();
          }
      });
  }
docs: Updates protected values salt for all nodes in tree which have protected values assigned
  @param {Node} node
  @param {ProtectSaltGenerator} protectSaltGenerator