The rapper accepted a plea deal for terroristic threats to avoid a mandatory five-to-twenty-year prison term.