Section 10. No law shall be passed by the legislative assembly granting the right to construct and operate a street railroad, telegraph, telephone or electric light plant within any city, town or incorporated village, without requiring the consent of the local authorities having the control of the street or highway proposed to be occupied for such purposes.