def METHOD_NAME(lock, info, paths):
    changes = []
    lock["write"] = lock.get("write", defaultdict(dict))
    for path in paths:
        if lock["write"][path] == info:
            continue
        changes.append(path)
        lock["write"][path] = info
    return changes