(Bug 3994) : Corrected SecurityAttributeChanged.pm for best practice as per pull request comments

* Changed $dbr to $dbcr for cluster reader

* Changed interpolated variables to bound parameters in db query.