An action may be brought pursuant to Chapter 9 (commencing with Section 860) of Title 10 of Part 2 of the Code of Civil Procedure to determine the validity of the action of a state agency or local public entity in giving preliminary or final approval to a proposal or application which may result in housing assistance benefiting persons of low income without obtaining prior referendum approval pursuant to Article XXXIV of the California Constitution.