Message integrity code

Hi to everyone have a great day!
can you help me to solve a doubt with this two images, please?:


¿The Message Integrity Code (MIC) its the encryptation of AppKey and is send with the message that contains the DevEUI, AppEUI (and DevNonce) like in the first picture or the Message Integrity Code (MIC) its the encryptation of AppKey, DevEUI, AppEUI and DevNonce like i understand in the second image (I do not know what is MHDR) ?
Thanks for your attention!