If I understand...
1. You recorded the midi track at a fixed tempo
2. The song was played at a different tempo.
3. You want to change the project tempo to that of the song.
I would not trouble myself trying to convert the midi track to be the same tempo as the song.
1. I'd keep the original project in case I wanted to modify any of the originally recorded midi notes.
2. I'd bounce that midi to a stereo track.
3. I'd import the bounced midi (now audio) and all other audio tracks to a new project.
4. I'd set the project tempo to match the song there.
This doesn't give you the opportunity to quantize the midi to tempo of the song, but I wouldn't be likely to do that anyway. I might fix little glitches here and there, but I doubt I'd do major doctoring that I couldn't do by ear.