Instead of contacting Maz, the DJ could be someone one of them already knows and they contact him. He agrees to help, arrives offscreen, and everything proceeds as normal.
Exactly, he could just be another “Resistance” member. Go from talking about needing a code breaker to being on the ship with him, headed to Snoke’s Star Destroyer.