Maybe the hat is NOT on the second layer of your skin but on the first.
If you open your skin you should be able to see if your hat is located in the correct part of the template, which can be found @ https://minecraft.gamepedia.com/Skin right at the bottom of the page. Your 'hat' should be located within the 'head2' section of the template
I tried looking for your skin on several 'minecraft skin stealer' websites using what I assume is your minecraft name ("Odinjr123") to try & see if I'm right but I couldn't find it.
If you could upload a copy here then myself (or someone else) may be able to see the problem