(a)
Notwithstanding any other provision of law, when a local agency charges fees for zoning variances; zoning changes; use permits; building inspections; building permits; filing and processing applications and petitions filed with the local agency formation commission or conducting preliminary proceedings or proceedings under the Cortese-Knox-Hertzberg Local Government Reorganization Act of 2000, Division 3 (commencing with Section 56000) of Title 5; the processing of maps under the provisions of the Subdivision Map Act, Division 2 (commencing with Section 66410) of Title 7; or planning services under the authority of Chapter 3 (commencing with Section 65100) of Division 1 of Title 7 or under any other authority; those fees may not exceed the estimated reasonable cost of providing the service for which the fee is charged, unless a question regarding the amount of the fee charged in excess of the estimated reasonable cost of providing the services or materials is submitted to, and approved by, a popular vote of two-thirds of those electors voting on the issue.
(b)
The fees charged pursuant to subdivision (a) may include the costs reasonably necessary to prepare and revise the plans and policies that a local agency is required to adopt before it can make any necessary findings and determinations.
(c)
Any judicial action or proceeding to attack, review, set aside, void, or annul the ordinance, resolution, or motion authorizing the charge of a fee subject to this section shall be brought pursuant to Section 66022.