This version of Unity is unsupported.

AssetDatabase.SetLabels

public static void SetLabels(Object obj, string[] labels);

Description

Replaces that list of labels on an asset.