In this task, you are given text for US Congressional and California state bills, your task is to generate a summary for this bill.
One example: SECTION 1. LIABILITY OF BUSINESS ENTITIES PROVIDING USE OF FACILITIES
TO NONPROFIT ORGANIZATIONS.

(a) Definitions.--In this section:
(1) Business entity.--The term ''business entity'' means a
firm, corporation, association, partnership, consortium, joint
venture, or other form of enterprise.
(2) Facility.--The term ''facility'' means any real
property, including any building, improvement, or appurtenance.
(3) Gross negligence.--The term ''gross negligence'' means
voluntary and conscious conduct by a person with knowledge (at
the time of the conduct) that the conduct is likely to be
harmful to the health or well-being of another person.
(4) Intentional misconduct.--The term ''intentional
misconduct'' means conduct by a person with knowledge (at the
time of the conduct) that the conduct is harmful to the health
or well-being of another person.
(5) Nonprofit organization.--The term ''nonprofit
organization'' means--
(A) any organization described in section 501(c)(3)
of the Internal Revenue Code of 1986 and exempt from
tax under section 501(a) of such Code; or
(B) any not-for-profit organization organized and
conducted for public benefit and operated primarily for
charitable, civic, educational, religious, welfare, or
health purposes.
(6) State.--The term ''State'' means each of the several
States, the District of Columbia, the Commonwealth of Puerto
Rico, the Virgin Islands, Guam, American Samoa, the Northern
Mariana Islands, any other territory or possession of the
United States, or any political subdivision of any such State,
territory, or possession.
(b) Limitation on Liability.--
(1) In general.--Subject to subsection (c), a business
entity shall not be subject to civil liability relating to any
injury or death occurring at a facility of the business entity
in connection with a use of such facility by a nonprofit
organization if--
(A) the use occurs outside of the scope of business
of the business entity;
(B) such injury or death occurs during a period
that such facility is used by the nonprofit
organization; and
(C) the business entity authorized the use of such
facility by the nonprofit organization.
(2) Application.--This subsection shall apply--
(A) with respect to civil liability under Federal
and State law; and
(B) regardless of whether a nonprofit organization
pays for the use of a facility.
(c) Exception for Liability.--Subsection (b) shall not apply to an
injury or death that results from an act or omission of a business
entity that constitutes gross negligence or intentional misconduct,
including any misconduct that--
(1) constitutes a crime of violence (as that term is
defined in section 16 of title 18, United States Code) or act
of international terrorism (as that term is defined in section
2331 of title 18) for which the defendant has been convicted in
any court;
(2) constitutes a hate crime (as that term is used in the
Hate Crime Statistics Act (28 U.S.C. 534 note));
(3) involves a sexual offense, as defined by applicable
State law, for which the defendant has been convicted in any
court; or
(4) involves misconduct for which the defendant has been
found to have violated a Federal or State civil rights law.
(d) Superseding Provision.--
(1) In general.--Subject to paragraph (2) and subsection
(e), this Act preempts the laws of any State to the extent that
such laws are inconsistent with this Act, except that this Act
shall not preempt any State law that provides additional
protection from liability for a business entity for an injury
or death with respect to which conditions under subparagraphs
(A) through (C) of subsection (b)(1) apply.
(2) Limitation.--Nothing in this Act shall be construed to
supersede any Federal or State health or safety law.
(e) Election of State Regarding Nonapplicability.--This Act shall
not apply to any civil action in a State court against a business
entity in which all parties are citizens of the State if such State
enacts a statute--
(1) citing the authority of this subsection;
(2) declaring the election of such State that this Act
shall not apply to such civil action in the State; and
(3) containing no other provision.
Solution is here: Shields a business entity from civil liability relating to any injury or death occurring at a facility of that entity in connection with a use of such facility by a nonprofit organization if: (1) the use occurs outside the scope of business of the business entity; (2) such injury or death occurs during a period that such facility is used by such organization; and (3) the business entity authorized the use of such facility by the organization.
Makes this Act inapplicable to an injury or death that results from an act or omission of a business entity that constitutes gross negligence or intentional misconduct, including misconduct that: (1) constitutes a hate crime or a crime of violence or act of international terrorism for which the defendant has been convicted in any court; or (2) involves a sexual offense for which the defendant has been convicted in any court or misconduct for which the defendant has been found to have violated a Federal or State civil rights law.
Preempts State laws to the extent that such laws are inconsistent with this Act, except State law that provides additional protection from liability. Specifies that this Act shall not be construed to supersede any Federal or State health or safety law.
Makes this Act inapplicable to any civil action in a State court against a business entity in which all parties are citizens of the State if such State, citing this Act's authority and containing no other provision, enacts a statute declaring the State's election that this Act shall not apply to such action in the State.
Explanation: This Bill focuses on shielding business entities from civil liability relating to an injury or death depending on the conditions of injury, hence the generated summary is correct.

Now, solve this: SECTION 1. SHORT TITLE.

This Act may be cited as the ''Handgun Safety Act of 1997''.

SEC. 2. HANDGUN SAFETY.

(a) Definition of Locking Device.--Section 921(a) of title 18,
United States Code, is amended by adding at the end the following:
''(34) The term 'locking device' means--
''(A) a device that, if installed on a firearm and
secured by means of a key or a mechanically-,
electronically-, or electromechanically-operated
combination lock, prevents the firearm from being
discharged without first deactivating or removing the
device by means of a key or mechanically-,
electronically-, or electromechanically-operated
combination lock; or
''(B) a locking mechanism incorporated into the
design of a firearm that prevents discharge of the
firearm by any person who does not have access to the
key or other device designed to unlock the mechanism
and thereby allow discharge of the firearm.''.
(b) Unlawful Acts.--Section 922 of title 18, United States Code, is
amended by inserting after subsection (x) the following:
''(y) Locking Devices and Warnings.--
''(1) In general.--Except as provided in paragraph (2),
beginning 90 days after the date of enactment of the Handgun
Safety Act of 1997, it shall be unlawful for any licensed
manufacturer, licensed importer, or licensed dealer to sell,
deliver, or transfer any handgun--
''(A) to any person other than a licensed
manufacturer, licensed importer, or licensed dealer,
unless the transferee is provided with a locking device
for that handgun; or
''(B) to any person, unless the handgun is
accompanied by the following warning, which shall
appear in conspicuous and legible type in capital
letters, and which shall be printed on a label affixed
to the gun and on a separate sheet of paper included
within the packaging enclosing the handgun:
'''THE USE OF A LOCKING DEVICE OR SAFETY LOCK IS ONLY
ONE ASPECT OF RESPONSIBLE FIREARM STORAGE. FIREARMS
SHOULD BE STORED UNLOADED AND LOCKED IN A LOCATION THAT
IS BOTH SEPARATE FROM THEIR AMMUNITION AND INACCESSIBLE
TO CHILDREN.
'FAILURE TO PROPERLY LOCK AND STORE YOUR FIREARM MAY
RESULT IN CIVIL OR CRIMINAL LIABILITY UNDER STATE LAW.
IN ADDITION, FEDERAL LAW PROHIBITS THE POSSESSION OF
A HANDGUN BY A MINOR IN MOST CIRCUMSTANCES.'
''(2) Exceptions.--Paragraph (1) does not apply to--
''(A) the--
''(i) manufacture for, transfer to, or
possession by, the United States or a State or
a department or agency of the United States, or
a State or a department, agency, or political
subdivision of a State, of a handgun; or
''(iii) the transfer to, or possession by,
a law enforcement officer employed by an entity
referred to in clause (i) of a handgun for law
enforcement purposes (whether on or off-duty);
or
''(B) the transfer to, or possession by, a rail
police officer employed by a rail carrier and certified
or commissioned as a police officer under the laws of a
State of a handgun for purposes of law enforcement
(whether on or off-duty).''.
(c) Civil Penalties.--Section 924 of title 18, United States Code,
is amended--
(1) in subsection (a)(1), by striking ''or (f)'' and
inserting ''(f), or (p)''; and
(2) by adding at the end the following:
''(p) Penalties Relating to Locking Devices and Warnings.--
''(1) In general.--
''(A) Suspension or revocation of license; civil
penalties.--With respect to each violation of
subparagraph (A) or (B) of section 922(y)(1) by a
licensee, the Secretary may, after notice and
opportunity for hearing--
''(i) suspend or revoke any license issued
to the licensee under this chapter; or
''(ii) subject the licensee to a civil
penalty in an amount equal to not more than
$10,000.
''(B) Review.--An action of the Secretary under
this paragraph may be reviewed only as provided in
section 923(f).
''(2) Administrative remedies.--The suspension or
revocation of a license or the imposition of a civil penalty
under paragraph (1) does not preclude any administrative remedy
that is otherwise available to the Secretary.''.

SEC. 3. STUDY ON STANDARDS FOR LOCKING DEVICES.

Not later than 1 year after the date of enactment of this Act, the
National Institute of Justice shall--
(1) conduct a study to determine the feasibility of
developing minimum quality standards for locking devices (as
that term is defined in section 921(a) of title 18, United
States Code (as amended by this Act)); and
(2) submit to the Attorney General of the United States and
the Secretary of the Treasury a report, which shall include the
results of the study under paragraph (1) and any
recommendations for legislative or regulatory action.
Solution:
Handgun Safety Act of 1997 - Amends Federal criminal law to define (firearm) "locking device."
Makes it unlawful for a licensed manufacturer, importer, or dealer to sell, deliver, or transfer a handgun without a locking device or a specified related warning, with exceptions for law enforcement and governmental entities.
Sets forth civil penalties (in addition to any administrative penalties) for related violations, including suspension or loss of license.
Directs the National Institute of Justice to study and report to the Attorney General and the Secretary of the Treasury on the feasibility of developing minimum quality standards for locking devices.