hero should fold preflop. If someone raises, are you gonna call? If No, then you just lost a blind for no reason. If you yes, then you just lost 4xBB on a slim chance of flopping a flush. Because surely, your opponents will make you pay to draw to a flush.
Beyond that, you played this well, I think. You're against AK or overzealous examples of AQ or AJ a lot at this level.