On his own motion, a trial judge may, with the consent of the defendant, direct and order a change of venue as is authorized in Section 15-2-20 whenever, in his judgment, there is danger of mob violence, and it is advisable to have a military guard to protect the defendant from mob violence.