W inning local approval for investments in everything from solar farms to critical mineral mines can be tough—and for good ...