I found the solution guys! @profxeni @gvalero @Robert_Petitto
Just append https://corsanywhere.herokuapp.com/ to your URL.
For example:
https://corsanywhere.herokuapp.com/https://maps.googleapis.com/maps/api/distancematrix/json?destinations=Fumone&origins=Anzio&units=metric&key=AIzaSyCLxnSvhGjjVPntRcZPhRDTt4SDZZ5m_PQ
Source: