Its Frostiron and I know the it is part of a series.
What I remember from it is that Loki gets parole after The Avengers and he has to fix the rainbow bridge so he goes to Tony to have, I believe, the stuff his dad invented produced in major quantities in exchange for studying his magic. Loki can't hurt anyone even in self defense.
Please and thanks for the help!!