Text this: Revolutionizing Battery Longevity by Optimising Magnesium Alloy Anodes Performance