Encode Label and GetNetworkLabel