How can prosecutors legally request taking away a Constitutional right?
They wouldn't phrase their request in such terms. Rather, they would ask a judge to let them to do something which they would hope the judge would consider legitimate, even if it actually wasn't.