The past tense of do justice to is did justice to.
The third-person singular simple present indicative form of do justice to is does justice to.
The present participle of do justice to is doing justice to.
The past participle of do justice to is done justice to.