Mary Margaret hires Mr. Gold as her attorney when Emma is forced to arrest her for the suspected murder of David’s wife, Kathryn.