Well, there are license keys for 'protocols" (ex- CIFS/NFS/ISCSI/FC etc). Also, could you elaborate on - "it will not function" ? What do you mean here.
I haven't done replacing controller myself so can't answer this question, but as I read :
You must install new licenses for the replacement node if the impaired node was using ONTAP features that require a standard (node-locked) license.
https://library.netapp.com/ecm/ecm_download_file/ECMP1199896
I guess someone in forum will correct me here.