If it was written by Allah that I will go to prison, then I will....
No measures can ever prevent that from happening coz it was determined before this universe ever came to existence...
So, never be afraid of no human being and hold your own then InshAllah you will be alright.
Prophet Mohamed(SAW) said " don't throw yourself in trouble, also he said "tie the camel's rope first then rely on Allah"
Stay safe and your loyalty is for your family and mum think of them first.