Set key guid to specified primary guid