I smell something rotten. Hide a microSD in a cake? If security and customs missed a cake going thru you think they would manage finding it stuck in your shoe?
You could tape a micro-SD card to the bottom of your foot, under your sock, and the TSA would never find it. Just opt for the pat-down, and they have never checked the bottom of my feet before.