def METHOD_NAME(self, serialized: str, filename: str) -> Tuple[List[str], List[str]]:
    """Upgrades Preferences to have the new version number.
    This renames the renamed settings in the list of visible settings.
    """
    parser = configparser.ConfigParser(interpolation = None)
    parser.read_string(serialized)
    # Update version number.
    parser["metadata"]["setting_version"] = "10"
    result = io.StringIO()
    parser.write(result)
    return [filename], [result.getvalue()]