This isn't going to be a problem. Dozens/hundreds of people arrive in Dubai on similar long transit itineraries every day and get transit visas issued on arrival. Just go to the Marhaba desk when you land and they will sponsor you a visa upon purchase of an overpriced crappy hotel room from them. Done it myself multiple times before I was resident here and know people who have done it just last week.