Hi. Your mouth opening is reduced because of the infection around the root of the wisdom tooth. The nerve is not that near, so do not worry. U r having referred pain around the ear. Extraction is the only solution and also, the wisdom tooth is damaging your 2nd molar too. So, plan for the extraction soon. First u will need to start antibiotics, and have a adequate mouth opening prior to extraction.
Next Steps
Do warm salt water rinses twice a day. It will help reduce the inflammation and increase mouth opening.