Keynes Dons, which was the club's first clean sheet in fourteen matches. Mehmet was released by manager Michael Brown, following the club's relegation in May 2017. Mehmet signed a one-year contract with Scottish Championship side Dundee United, after impressing after a trial in July 2017. He was restricted to cup appearances in the first part of the 2017–18 season, despite expecting a better opportunity when Csaba László replaced Ray McKinnon as manager in November 2017, although he explained that the change in management had little effect on him as he spent most of his time at Tannadice with goalkeeping coach Stuart Garden. Mehmet eventually staked his claim as first-team goalkeeper towards the end of that season, as United defeated Dunfermline Athletic in the play-off quarter-finals but had to be substituted for Harry Lewis just under an hour into the second leg, after he injured himself celebrating Scott McDonald's equalising goal. Manager Laszlo stated that "this was the funniest thing he had seen in football and was really stupid". Mehmet signed a new one-year contract with Dundee United in May 2018, however the torn cruciate ligament injury he sustained in the play-offs left him unable to feature during the first half of the 2018–19 season. Manager Robbie Neilson gave him a six-month contract extension to help him through his rehabilitation. On 29 March 2019, Mehmet signed for Queen of the South until the end of the 2018–19 season and Queens manager Gary Naysmith explained that he signed him after first-team goalkeeper Martin and third-choice goalkeeper Ryan Gibson both picked up injuries. He rejoined Dundee United on 5 July 2019 signing a two-year contract; sporting director Tony Asghar explained that he was allowed to leave the club in order to prove his fitness, and having done so he was re-signed to provide competition for first-choice goalkeeper Benjamin Siegrist. However Siegrist played all 28 league games in the 2019–20 season as United were declared as league champions with eight games left to play due to the COVID-19 pandemic in Scotland. Mehmet made four league and eight cup appearances throughout the 2020–21 campaign, including playing in a Scottish Cup semi-final defeat to Hibernian. However he decided to leave Tannadice after concluding that "it just wasn’t happening for me at Dundee United" with manager Micky Mellon settled on playing Siegrist in goal. On 23 June 2021, Mehmet signed for Scottish Championship side Dunfermline Athletic on