I don't think I'd go so far to solder the pivot pin.
(CA's AW law is written so poorly, but clearly states AW's as CENTERFIRE, they make NO mention of the lower reciever. and they can't just MAKE UP law as they go along, thus, a .22 barrel with the AR lower is quite to the letter of the law NOT an assault weapon under the Roberty Roose Act or PC section 12276, this in and of it's self is a .22 rifle. BUT, if you have an centerfire UPPER, I would in NO way place the lower and upper even in the same car, guncase, etc where it could be argued you were in process of MANUFACTURING an assault weapon. Should you wish to have that sort fof configuration, there are options such as the FAB10 and Atlantic Arms lower reciever as well as DPMS's single shot AR lower which has no mag well whatsoever, this is the PENALTY of being a Californian.)
A rimfire is FINE: Penal code section applicable as follows:
12276.1 (a) Notwithstanding Section 12276, "assault weapon" shall also mean any of the following:
(1) A semiautomatic, centerfire rifle that has the capacity to accept a detachable magazine and any one of the following:
(A) A pistol grip that protrudes conspicuously beneath the action of the weapon.
(B) A thumbhole stock.
(C) A folding or telescoping stock.
(D) A grenade launcher or flare launcher.
(E) A flash suppressor.
(F) A forward pistol grip.
(2) A semiautomatic, centerfire rifle that has a fixed magazine with the capacity to accept more than 10 rounds.
(3) A semiautomatic, centerfire rifle that has an overall length of less than 30 inches.
(4) A semiautomatic pistol that has the capacity to accept a detachable magazine and any one of the following:
(A) A threaded barrel, capable of accepting a flash suppressor, forward handgrip, or silencer.
(B) A second handgrip.
(C) A shroud that is attached to, or partially or completely encircles, the barrel that allows the bearer to fire the weapon without burning his or her hand, except a slide that encloses the barrel.
(D) The capacity to accept a detachable magazine at some location outside of the pistol grip.
(5) A semiautomatic pistol with a fixed magazine that has the capacity to accept more than 10 rounds.
(6) A semiautomatic shotgun that has both of the following:
(A) A folding or telescoping stock.
(B) A pistol grip that protrudes conspicuously beneath the action of the weapon, thumbhole stock, or vertical handgrip.
(7) A semiautomatic shotgun that has the ability to accept a detachable magazine.
(8) Any shotgun with a revolving cylinder.
(b) "Assault weapon" does not include any antique firearm.
(c) The following definitions shall apply under this section:
(1) "Magazine" shall mean any ammunition feeding device.
(2) "Capacity to accept more than 10 rounds" shall mean capable of accommodating more than 10 rounds, but shall not be construed to include a feeding device that has been permanently altered so that it cannot accommodate more than 10 rounds.
(3) "Antique firearm" means any firearm manufactured prior to January 1, 1899.
(d) This section shall become operative January 1, 2000.