I'm looking for a fic where Loki was tortured by Asgard's guard and Odin while in prison. I can't really remember if Thor saved Loki or Odin sent Loki to the avengers on Midgard after doing some pretty torturing. I remembered Loki have some sort of headgear(it was embedded to his head?) which covers his eyes and Odin said something along the line of "Be a good boy and wear it for daddy". I also remembered a scene where Loki misunderstood Tony and thought he wanted a blowjob but Tony freaked out and stopped Loki before he could start anything. I'm pretty sure I read it in Ao3.
*Found!* Link in comments