There is more to organic chemistry than those there guys' rearrangements. All I am saying is that when you see certain functionality present or being made in a molecule it should trigger off the memory, e.g. when I saw acid chloride/acyl azide/heat/alcohol I immediately recognised that a Curtius was being carried out. In my case most of organic chemistry is ingrained in my brain cell, some details are sketchy but I like to think that most of it is there, but I have been doing it for nearly 40 years, and one does forget. Some things I say may not be 100% correct but if they put you on the right track then that's ok.
A carbamate ester is not an amide and you can't apply amide chemistry to a carbamate. Carbamates are typical protecting groups for amines, e.g. Boc, t-Boc and the like. They are almost tuneable to the other functionality in your molecule, that is you can choose your carbamate so that it can be removed without destroying the rest of the molecule.
Also you should not just take a guess at the products, you need to slow down and think, not panic, and remember your chemistry. We are not there in the exam!